package com.spontaneappnew;

import java.util.Date;

public class Comment {
	
	private String comment;
	private double rating;
	private Date dateAdded;
	private String placeName;
	
	public Comment(String comment, double rating, Date date){
		this.comment = comment;
		this.rating = rating;
		this.dateAdded=date;
		this.placeName="";
	}
	
	public void setComment(String comment){
		this.comment=comment;
	}
	
	public String getComment(){
		return this.comment;
	}
	
	public void setRating(double rating){
		this.rating = rating;
	}
	public double getRating(){
		return this.rating;
	}
	
	public Date getDate(){
		return this.dateAdded;
	}
	
	public void setDate(Date date){
		this.dateAdded = date;
	}
	
	public void setPlaceName(String name){
		this.placeName = name;
	}
	
	public String getPlaceName(){
		return this.placeName;
	}

}
